The AppleShare Client API consists of routines for creating and parsing AFP URLs and a set of routines for working with shared volumes.
AFP URLs
The basic form of an afp URL is similar to the ftp URL:
over TCP/IP:
afp://user:password@dnsName:Port/VolumeName
over AppleTalk:
afp:/at/user:password@Servername:Zone/VolumeName
There are optional additions for specifying the Authentication method.
There are routines to build, test, and parse afp URLs.
Shared Volume Eneumerators
The Shared Volume Eneumerator API allows you to open a connection to a server over AppleTalk or TCP/IP, login, eneumerate over the list of volumes and mout individual volumes.
Getting Started
To get started using the AppleShare Client API, read the AppleShareClientAPI.pdf documentation included in this SDK, look at the header file (afpClient.h), and experiment with the API. You can link against the AppleShare Client (version 3.8.5 or later) directly or link against the supplied library. On Mac OS X, the AppleShare Client API will be delivered as a shared framework.
Other AppleShare Information
Web sites
For information about developing for AppleShare technologies and existing AppleShare IP Software Developers Kits please visit the Apple Developer web site located at www.apple.com/developer and/or contact the Apple Developer group at dts@apple.com.